package itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import itheima.reggie.dto.DishDto;
import itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品，保存口味
    public void saveWithFlavor(DishDto dto);
    //根据菜品id查询查询草品与口味
    public DishDto queryDishWithFlavorById(Long id);
    //修改菜品与口味信息
    public int updateDishWithFlavor(DishDto dto);
    //删除菜品和口味信息
    public void deleteDishWithFlavor(Long[] ids);
}
